{% extends "base.html" %}

{% block content %}
  <div class="panel">
    <h1>{% if '/admin/holiday/create' in full_path %}创建{% else %}编辑{%endif%}节假日</h1>  
     <div class="pageContent">
    <form action="{{full_path}}?navTabId=holiday_list_page" method="post" class="pageForm required-validate" onsubmit="return validateCallback(this,navTabAjaxDone);">
      <div class="pageFormContent" >
      {% csrf_token %}
      {{ form.as_p }}
	    <div class="formBar">
	        <ul>
	          <li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
	          <li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
	        </ul>
	    </div>
      </div>
    </form>
    </div>
</div>
{% endblock %}